/**
 * 
 */
package cw.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cw.entity.User;

/**
 * @author Administrator
 *
 */
public interface UserService {
	
	
	public int deleteByPrimaryKey(Integer id);

    public int insert(User record);

    public int insertSelective(User record);

    public User selectByPrimaryKey(Integer id);

    public int updateByPrimaryKeySelective(User record);

    public int updateByPrimaryKey(User record);
    
    public List<User> queryUser(String username,String description,Integer offset, Integer pageSize);

    public Integer getTotal(String username,String description);
}
